from rest_framework import serializers


class FileSerializer(serializers.Serializer):
    type = serializers.CharField()
    transfer_method = serializers.CharField()
    url = serializers.URLField(required=False)
    upload_file_id = serializers.CharField(required=False)